package com.sskj.api.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Schema(description = "用户绑定角色请求类")
@Data
public class UserBindRolesReq {

    @NotNull(message = "用户不能为空")
    @Schema(description = "用户ID")
    private Long userId;

    @NotNull(message = "角色不能为空")
    @Schema(description = "角色集合")
    private List<Long> roleIds;
}
